home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 262_01.zip / MENU.H < prev    next >
Text File  |  1993-04-14  |  512b  |  30 lines

  1. /************************************************
  2.  *    Definitions for Menu Manager        *
  3.  ************************************************/
  4.  
  5. struct menu {
  6.     char *question;
  7.     struct mline {
  8.         char *answer;
  9.         int (*routine)();
  10.         int *parameter;
  11.     }
  12.     selection[1];
  13. };
  14.  
  15. #define MENU    struct menu
  16. #define MLINE    struct mline
  17.  
  18. #define MAXMDEPTH 8
  19. extern MENU m;
  20. extern hist[MAXMDEPTH], *hptr;
  21.  
  22.  
  23. menu {
  24.     char *question;
  25.     struct mline {
  26.         char *answer;
  27.         int (*routine)();
  28.         int *parameter;
  29.     }
  30.     sel